home *** CD-ROM | disk | FTP | other *** search
- Path: mail2news.demon.co.uk!genesis.demon.co.uk
- From: Lawrence Kirby <fred@genesis.demon.co.uk>
- Newsgroups: comp.lang.c
- Subject: Re: Stupid Question: What does "foo" stand for?
- Date: Sat, 20 Jan 96 02:36:58 GMT
- Organization: none
- Message-ID: <822105418snz@genesis.demon.co.uk>
- References: <DLA6o4.8s0@bcstec.ca.boeing.com> <4dmsfk$kd8$1@mhadg.production.compuserve.com>
- Reply-To: fred@genesis.demon.co.uk
- X-NNTP-Posting-Host: genesis.demon.co.uk
- X-Newsreader: Demon Internet Simple News v1.27
- X-Mail2News-Path: genesis.demon.co.uk
-
- In article <4dmsfk$kd8$1@mhadg.production.compuserve.com>
- 73257.3527@CompuServe.COM "Earl F. Glynn" writes:
-
- >In my opinion, the use of "foo" should be discouraged and shows a
- >lack of appreciation of good software engineering practices. Only
- >good, mnemonic names should be used in software and "foo" can
- >never qualify, even in abstract academic examples.
-
- foo, bar, baz etc. are recognised as indicating general examples of the
- things they represent. As such they are very useful in academic examples
- (and indeed are a clear indication that that is the nature of the code). I
- agree that they shouldn't be used in 'real' code.
-
- --
- -----------------------------------------
- Lawrence Kirby | fred@genesis.demon.co.uk
- Wilts, England | 70734.126@compuserve.com
- -----------------------------------------
-